function getStorage(attr) {
    if (localStorage[attr]) {
        return JSON.parse(localStorage[attr]).reverse()
    } else {
        return {};
    }
}
export default getStorage